<?php

if (POST) {
    switch (PARAMS) {
        case 'remove':
            comment::delete(array('ID' => $_POST['ID']));
            break;
    }
}
?>